﻿namespace zhwy.saas.api.Services.Sinterface
{
    public interface ICurrentUserService
    {
        /// <summary>
        /// 获取登录用户id
        /// </summary>
        /// <returns></returns>
        long GetUserId();
        /// <summary>
        /// 获取登录用户的租户id
        /// </summary>
        /// <returns></returns>
        int GetTenantId();
        string GetUserName();
        bool IsAuthenticated();
    }
}
